package com.buka.server.feign;


import com.buka.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "goods")
public interface DetailFeign {
    /**
     * 查询商品详情页
     */
    @GetMapping("/detail/findDetail")
    Result<Map<String, ?>> findDetail(@RequestParam Long id);
}